# coding=utf-8
# 全世界最帅的帅哥


def handle_dict(data: dict):

    remove_keys = []

    for key, value in data.items():
        if not value:
            remove_keys.append(key)

    for key in remove_keys:
        del data[key]

    return data
